package com.sddz.pacs.mapper;

import com.sddz.pacs.entity.HealthUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 健康体检人员信息表 Mapper 接口
 * </p>
 *
 * @author 时代电子
 * @since 2018-09-10
 */
public interface HealthUserMapper extends BaseMapper<HealthUser> {

    Map indexNumber(@Param("stationId") String stationId);

    Map getByManWomanNum(@Param("stationId") String stationId);

    List<HealthUser> getDayData(@Param("stationId") String stationId);

    Map getYearEveryMonth(@Param("stationId") String stationId);

    List<Map> getSevenDay(@Param("stationId") String stationId);

    Map mangerNumber();

    Map getMangerManWomanNum();

    List<Map> getMangerSevenDay();

    List<HealthUser> getThreeDays();

    List<Map<String,Object>> countZong();

    Map<String,Integer> getMapData();
}
